export type { CourseListItemType } from '@/api/service/base.type';
export type {
	LessonBehaviorDetailItemType,
	BehaviorDataItemType
} from '@/api/service/lesson-analysis-details.type';
import type {
	StudentNodeKeyType,
	BehaviorDataItemType
} from '@/api/service/lesson-analysis-details.type';

export type NodeKeyType = StudentNodeKeyType;

export type NodeListType = Record<
	StudentNodeKeyType,
	{
		order: number;
		show: number;
	}
>;

export interface BehaviorStatItemType {
	name: string;
	behavior: StudentNodeKeyType;
	value?: number | null;
	itemStyle: { color: string };
}

export type AILessonBehaviorStatType = Partial<
	Record<StudentNodeKeyType, { num: number; rate: number }>
>;

export interface PreviewInfoType {
	transFileUrl: BehaviorDataItemType[];
	name: string;
	type: number;
	analysisType: number;
}

// 休息时间标记点的位置信息
export interface BreakTimeMarker {
	left: number;
	top: number;
	height: number;
	label: string;
	labelTop: number;
}
